write a java program to check number is perfect or not

welcome to shbcf.ru